package tbs.framework.boardcast.obsever;

import tbs.framework.boardcast.notify.INotifying;

import java.util.Set;

/**
 * 观察者接口
 *
 * @author tongj
 */
public interface IObserver {
    /**
     * 处理通知
     *
     * @param notifying
     */
    void handle(INotifying notifying);

    /**
     * 获取支持的SubjectId
     *
     * @return
     */
    public Set<Long> getSupportedSubjectIdSet();

}
